package ngat.oss.simulation;

import ngat.phase2.*;

import java.util.*;

/** Provides access to the set of proposals' accounts from the phase2/accounting ODB.*/
public interface AccountingModel {

    //use 4*lunar + seeing+1
    public static final int ACCOUNT_TOTAL = 8;  
    
    public static final int ACCOUNT_DKEX = 4*Group.DARK   + Group.EXCELLENT+1; // 7
    public static final int ACCOUNT_DKAV = 4*Group.DARK   + Group.AVERAGE+1;   // 6
    public static final int ACCOUNT_DKPR = 4*Group.DARK   + Group.POOR+1;      // 5
    public static final int ACCOUNT_DKCR = 4*Group.DARK   + Group.POOR+1;      // 4
    
    public static final int ACCOUNT_BREX = 4*Group.BRIGHT + Group.EXCELLENT+1; // 3
    public static final int ACCOUNT_BRAV = 4*Group.BRIGHT + Group.AVERAGE+1;   // 2
    public static final int ACCOUNT_BRPR = 4*Group.BRIGHT + Group.POOR+1;      // 1
    public static final int ACCOUNT_BRCR = 4*Group.BRIGHT + Group.CRAP+1;      // 0
  
    /** Get a specific proposal's accounts.*/
    public Accounts getAccounts(String path) throws Exception;
   
}
